//
//  DownloadListDAO.h
//  ImGuider
//
//  Created by llt on 2017/4/26.
//  Copyright © 2017年 imguider. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface DownloadListDAO : NSObject

//-----------------------------------路线表------------------------------------------

+ (void)getLineModelListBlock:(void (^) (NSArray <LineModel *>*dataArray))block;
+ (void)getLineModelWithUnionid:(NSString *)unionid Block:(void (^) (LineModel *lineModel))block;
+ (void)getLineModelListWithState:(DownloadState)state block:(void (^) (NSArray <LineModel *>*dataArray))block;

+ (void)insertLineModel:(LineModel *)lineModel;
+ (void)deleteLineModel:(LineModel *)lineModel;

+ (void)changeLineModelState:(DownloadState)state unionid:(NSString *)unionid;

//-----------------------------------景点表------------------------------------------
//+ (void)getAllScenicPointWithUnionID:(NSString *)unionid Block:(void (^) (NSArray <ScenicPoint *>* scenicPointArray))block;
//
////+ (void)getDownloadScenicPointWithUnionID:(NSString *)unionid state:(DownloadState)state Block:(void (^) (NSArray <ScenicPoint *>* scenicPointArray))block;
//
//+ (void)sceniceDownloadStateForURL:(NSString *)URLStr Block:(void (^) (DownloadState state))block;
//
//+ (void)getDownloadScenicPointWithState:(DownloadState)state Block:(void (^) (NSArray <ScenicPoint *>* scenicPointArray))block;
//
//+ (void)getScenicePointWithScenicID:(NSString *)scenicid Block:(void (^) (ScenicPoint *scenicPoint))block;
//
//+ (void)changeState:(DownloadState)state scenicPlaypath:(NSString *)playPath;

@end
